﻿using Castle.ActiveRecord;

namespace NoMiddleman.Core.Domain
{
    [ActiveRecord]
    public class Address
    {
        [PrimaryKey]
        public int Id { get; protected set; }

        [Property]
        public string City { get; set; }

        [Property]
        public string Street { get; set; }

        [Property]
        public int Number { get; set; }

        [Property]
        public int? FlatNumber { get; set; }
    }
}
